@layout("/common/_form.html",{js:["/assets/product/product_edit.js"]}){

<form class="layui-form" id="productForm" lay-filter="productForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="productId" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">产品编码</label>
                        <div class="layui-input-block">
                            <input id="productCode" name="productCode" placeholder="请输入产品编码" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">产品标题</label>
                        <div class="layui-input-block">
                            <input id="title" name="title" placeholder="请输入产品标题" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">单价</label>
                        <div class="layui-input-block">
                            <input id="price" name="price" placeholder="请输入单价" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">单位</label>
                        <div class="layui-input-block">
                            <input id="unit" name="unit" placeholder="请输入单位，如：kg" value="g" type="tel" class="layui-input" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" type="button" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}